import request from "@/utils/request"
/**
 * 获取品牌
 * @returns Promise
 */
export const findBrands = (limit = 6) => {
    return request('/home/brand', 'get', { limit })
}

/**
 * 获取广告图
 * @returns Promise
 */
export const findBanner = () => {
    return request('/home/banner', 'get')
}
//新鲜好物模块api
export const findNew = () => {
    return request('home/new', 'get')
}
//人气推荐模块api
export const findHot = () => {
    return request('home/hot', 'get')
}
// 产品
export const findGoods = () => {
    return request('home/goods', 'get')
}
// 专题
export const findSpecial = () => {
    return request('home/special', 'get')
}
